import { InputNumber } from "antd"

const InputInteger = (props) => {
  return <InputNumber
    precision={0}
    min={0}
    {...props}
  ></InputNumber>
}

InputInteger.propsMap = [
  {
    type: 'int',
    name: 'min',
    label: '最大值'
  },
  {
    type: 'int',
    name: 'max',
    label: '最小值'
  }
]

export default InputInteger